//
//  CooperateViewController.m
//  Consume100
//
//  Created by eliot on 16/3/25.
//  Copyright © 2016年 aleven. All rights reserved.
//

#import "CooperateViewController.h"

@interface CooperateViewController ()

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topImage;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *EWMH;


@property (weak, nonatomic) IBOutlet NSLayoutConstraint *EWMW;



@end

@implementation CooperateViewController


+(CooperateViewController*)CreatCooperateViewController{
    
    UIStoryboard *story=[UIStoryboard storyboardWithName:@"Main" bundle:nil];
    CooperateViewController *cooperate=[story instantiateViewControllerWithIdentifier:@"CooperateViewController"];
    return cooperate;
}


- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"我要合作";
    [self.navigationController.navigationBar setTitleTextAttributes:@{NSFontAttributeName:[UIFont systemFontOfSize:19],NSForegroundColorAttributeName:[UIColor whiteColor]}];
    self.navigationController.navigationBar.tintColor = [UIColor whiteColor];
    [self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName : [UIColor whiteColor]}];
    self.navigationController.navigationBar.translucent = NO;
    
    
    /**  屏幕适配*/
    self.topImage.constant = 213/320.0 *Width;
    self.EWMW.constant = 128 / 320.0 * Width ;
    self.EWMH.constant = 128 / 320.0 * Width ;
    
    
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
